// pages/vant/vant.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    checked:false,
    stepperNum:"1",
    imageURL:"https://img.alicdn.com/bao/uploaded/i1/O1CN01UIZL5G25dwtksOmab_!!0-paimai.jpg_120x120q90.jpg_.webp"
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    
  },
  onClick(event){
    this.setData({
      checked:event.detail
    })
    console.log(event.detail);
  },
  
  onSearch(event){
    console.log(event.detail);
  },
  onStepper(event){
    // console.log(event.detail);
    this.setData({
      stepperNum:event.detail
    })
  }
})